package pl.piasecki;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.ws.Endpoint;

@WebService(name = "echo")
public class Test {
	@WebMethod
	public String echo(String text) {
		return text;
	}

	public static void main(String[] args) {

		Endpoint.publish(
				"http://localhost:8081/WebServiceExample/test",
				new Test());

	}

}
